package org.jeecg.modules.lab.exam.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 考试试题信息表
 * @Author: jeecg-boot
 * @Date:   2023-08-24
 * @Version: V1.0
 */
@ApiModel(value="lab_exam_question对象", description="考试试题信息表")
@Data
@TableName("lab_exam_question")
public class LabExamQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**题目类型*/
	@Excel(name = "试题类型", width = 15)
    @ApiModelProperty(value = "试题类型")
    private String type;
	/**题目图片*/
    @ApiModelProperty(value = "试题图片")
    private String image;
	/**题目内容*/
	@Excel(name = "试题内容", width = 15)
    @ApiModelProperty(value = "试题内容")
    private String content;
	/**正确答案*/
    @Excel(name = "正确答案", width = 15)
    @ApiModelProperty(value = "正确答案")
    private String answer;
	/**分值*/
    @ApiModelProperty(value = "分值")
    private Double score;
	/**整题解析*/
    @ApiModelProperty(value = "试题解析")
    private String analysis;
	/**题目备注*/
	@Excel(name = "试题备注", width = 15)
    @ApiModelProperty(value = "试题备注")
    private String remark;
    /**题库id*/
    @ApiModelProperty(value = "题库id")
    private String bankId;

}
